<?php
require_once (HOME . 'include/base/FrontendController.php');
/**
 * 演示
 * @author silenus
 *
 */
class demo extends FrontendController {
	
	
	function printToBrowser(){
		
// 	$result = spClass('m_employee')->findAll();
	
// 	$find_condition = $result[0]['employee_id'];
	
// 	$result2	= spClass('mid_department_employee')->findAll(array('employee_id' => $find_condition));
	
// 	$department_id1 = $result2[0]['department_id'];
	
// 	$final_result = spClass('m_department')->findAll(array('department_id' => $department_id1));
	
// 	dump($final_result);

		
		$result = spClass('m_employee')->spLinker()->findAll();
		
		dump($result);
	}
}